package org.easy.struts.apt;

import java.util.HashMap;
import java.util.Map;

public class StrutsActionMapping {
	String path;
	String type;
	String form;
	String input;
	String scope;
	boolean validate;
	
	String parameter;
	Map<String, String> forwards = new HashMap<String, String>();

	public String getParameter() {
		return parameter;
	}

	public void setParameter(String parameter) {
		this.parameter = parameter;
	}
	
	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getForm() {
		return form;
	}

	public void setForm(String form) {
		this.form = form;
	}

	public boolean isValidate() {
		return validate;
	}

	public void setValidate(boolean validate) {
		this.validate = validate;
	}

	public void addForward(String name, String path) {
		forwards.put(name, path);
	}
	
	public Map<String, String> getForwards() {
	 return forwards;
	}
}
